package com.ruoyi.framework.oauth;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UcenterProperties {
    @Value("${ucenter.oauth2.client.clientId}")
    private String  clientId;
    @Value("${ucenter.oauth2.client.clientSecret}")
    private String clientSecret;
    @Value("${ucenter.oauth2.client.accessTokenUri}")
    private String accessTokenUri;
    @Value("${ucenter.oauth2.client.userAuthorizationUri}")
    private String userAuthorizationUri;
    @Value("${ucenter.oauth2.client.clientAuthenticationScheme}")
    private String clientAuthenticationScheme;
    @Value("${ucenter.oauth2.resource.userInfoUri}")
    private String userInfoUri;
    @Value("${ucenter.oauth2.sso.login-path}")
    private String loginPath;
    @Value("${ucenter.oauth2.sso.redirect_uri}")
    private String redirect_uri;
    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getAccessTokenUri() {
        return accessTokenUri;
    }

    public void setAccessTokenUri(String accessTokenUri) {
        this.accessTokenUri = accessTokenUri;
    }

    public String getUserAuthorizationUri() {
        return userAuthorizationUri;
    }

    public void setUserAuthorizationUri(String userAuthorizationUri) {
        this.userAuthorizationUri = userAuthorizationUri;
    }

    public String getClientAuthenticationScheme() {
        return clientAuthenticationScheme;
    }

    public void setClientAuthenticationScheme(String clientAuthenticationScheme) {
        this.clientAuthenticationScheme = clientAuthenticationScheme;
    }

    public String getUserInfoUri() {
        return userInfoUri;
    }

    public void setUserInfoUri(String userInfoUri) {
        this.userInfoUri = userInfoUri;
    }

    public String getLoginPath() {
        return loginPath;
    }

    public void setLoginPath(String loginPath) {
        this.loginPath = loginPath;
    }

    public String getRedirect_uri() {
        return redirect_uri;
    }

    public void setRedirect_uri(String redirect_uri) {
        this.redirect_uri = redirect_uri;
    }

}
